package org.xinjiang.data.migration.common.data;

import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author wenjie
 * @since 23/5/2
 */
@ToString
@EqualsAndHashCode
@Accessors(chain = true)
public class IdNameDTO implements Serializable {

    private Long id;

    private String name;

    public Long getId() {
        return id;
    }

    public IdNameDTO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public IdNameDTO setName(String name) {
        this.name = name;
        return this;
    }

}
